%
%  =======================================================================
%  ····Y88b···d88P················888b·····d888·d8b·······················
%  ·····Y88b·d88P·················8888b···d8888·Y8P·······················
%  ······Y88o88P··················88888b·d88888···························
%  ·······Y888P··8888b···88888b···888Y88888P888·888·88888b·····d88b·······
%  ········888······"88b·888·"88b·888·Y888P·888·888·888·"88b·d88P"88b·····
%  ········888···d888888·888··888·888··Y8P··888·888·888··888·888··888·····
%  ········888··888··888·888··888·888···"···888·888·888··888·Y88b·888·····
%  ········888··"Y888888·888··888·888·······888·888·888··888··"Y88888·····
%  ·······························································888·····
%  ··························································Y8b·d88P·····
%  ···························································"Y88P"······
%  =======================================================================
% 
%  -----------------------------------------------------------------------
% Author       : 焱铭
% Date         : 2024-02-29 18:53:40 +0800
% LastEditTime : 2024-02-29 18:53:44 +0800
% Github       : https://github.com/YanMing-lxb/
% FilePath     : /PyTeXMK/tests/contents-test.tex
% Description  : 
%  -----------------------------------------------------------------------
%

\documentclass{article}
\usepackage[UTF8]{ctex} % 加载ctex宏包以支持中文排版
\begin{document}

\title{具有目录的LaTeX测试文档}
\author{作者}
\date{\today}

\maketitle

\tableofcontents % 自动生成目录

\section{引言}
这是一个具有目录的LaTeX测试文档。它将演示如何使用LaTeX创建目录。

\section{第一部分}
这是第一部分的内容。

\subsection{子节标题}
这是一个子节的内容。

\section{第二部分}
这是第二部分的内容。

\subsection{另一个子节标题}
这是另一个子节的内容。

\subsubsection{子子节标题}
这是一个更深层次的子子节的内容。

\section{结论}
这是文档的结论部分。

\end{document}
